Hi Tom,
I wrote a program to calibrate my Z axis off of a
limit switch and it kinda works. There's an InputBox
where you enter the material thickness and the machine
moves over the limit switch, comes down, trips the limit
switch, does the math,Plugs that into the Z DRO and the
Z is calibrated. The program is attached.
I've got a couple of problems.
1. Everytime the program runs the InputBox
remembers the last material thickness that was entered.
After running the program a few times I end up with a
drop down full of material thicknesses. How do I zero
out that register so it comes up blank without cycling
power on my Kflop?